package com.siashan.unipay4j.wx.splitbill;

import com.siashan.unipay4j.core.IBaseEnum;

/**
 * 分账接收方类型
 *
 * @author  siashan
 * @since  v1.0.1
 **/
public enum WxReceiverType implements IBaseEnum<String> {
    /**
     * 商户ID
     */
    MERCHANT_ID("MERCHANT_ID", "商户ID"),
    /**
     * 个人openid
     */
    PERSONAL_OPENID("PERSONAL_OPENID", "个人openid"),
    ;
    private String value;
    private String desp;

    WxReceiverType(String value, String desp) {
        this.value = value;
        this.desp = desp;
    }

    @Override
    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    @Override
    public String getDesp() {
        return desp;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }
}
